package com.jy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jy.pojo.Type;
import org.apache.ibatis.annotations.Select;

public interface TypeMapper extends BaseMapper<Type> {
    @Select("select id from type where name=#{tname}")
    Integer findIdByTname(String tname);
}
